package dem1;

import java.util.Arrays;
import java.util.Comparator;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-03-27
 * Time: 16:03
 */

class Teacher{

    public void method(){
        class Frind{

        }
    }

}



public class Test {
    public static void main(String[] args) {
        Teacher.Student student = new Teacher.Student();
        Teacher teacher = new Teacher();
        Teacher.Student student1 = teacher.new Student();
        Integer[] arr = {1,5,7,8,3,2,6,2,21};
        Arrays.sort(arr, new Comparator<Integer>() {
            @Override
            public int compare(Integer o1, Integer o2) {
                return 0;
            }
        });

        new Iswim(){
            @Override
            public void swim() {
            }
        };

    }
}
